package com.haiyu.manager.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haiyu.manager.pojo.Category1;
import lombok.Data;


import java.util.Date;

@Data
public class Category2DTO {
    private Integer category2Id;

    private String category2Name;

    private double recommendedPrice;

    private String category2Remark;
    //状态0正常1下架
    private Integer category2Label;
    //
    private Integer category10Id ;
    private String category1Name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bcreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bupdateTime;
    //private Category1 category1 ;
    // private Set<OrderDetail>  orderDetails;
}
